/**
 * index页面的一些api
 */
import request from '@/config/axios'

export const getData = (id) =>
  request.get({ url: `/api/onlyforone/pdfList/index/${id}` })

export const detail = (id) =>
  request.get({ url: `/api/onlyforone/pdfList/detail/${id}` })
export const download_detail = (id) =>
  request.get({ url: `/api/onlyforone/downloadCategory/detail/${id}` })